<DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style type="text/css">
  .important {
  font-style:italic;
  }
  .warning {
  font-weight: bold;
  }
  .important.warning {
  background :silver;
  }
</style>
</head>
<body>
  <p class="important">sfhasdfhjkasddddddddddddddd</p>
  <p class="warning">dddddddddddddddd</p>
  <p class=" important warning">ffffffffffffffffffffffffff</p>
</body>
</html>